<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
    <meta name="keywords" content="{$SEO['keyword']}" />
    <meta name="description" content="{$SEO['description']}"/>
    <title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>

    <link type="text/css" rel="stylesheet" href="{SKIN_PATH}css/pc_style.css" />
    <script type="text/javascript" src="{SKIN_PATH}js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="{SKIN_PATH}js/common.js"></script>
</head>

<body>

<div id="header" class="header_mini">
    <div class="header-c wrap">
    	<div class="logo f_l">
            <!--logo-->
            {pc:content action="getRecord" fields="thumb" where="id eq 40" name="news" limit="1" return="r_logo"}
            {loop $r_logo $r}
            <div class="logo"><a href="{WEB_PATH}" data-ajax="false"><img src="{$r['thumb']}"></a></div>
            {/loop}
            {/pc}
        </div>
        <div class="mnav f_r">
        
            <div id="top-r-link" align="right">
            	【 <a href="javascript:;" onclick="SetHome(window.location);return false">设为首页</a> | 
                <a href="javascript:;" onclick="AddFavorite();return false;">添加收藏</a> 】
            </div>
            
            <div id="search-form" align="right">
                <form name="form1" id="form1" action="index.php">
                    <input type="hidden" name="m" value="search"/>
                    <input type="hidden" name="c" value="index"/>
                    <input type="hidden" name="a" value="init"/>
                    <input type="hidden" name="typeid" value="{$typeid}" id="typeid"/>
                    <input type="hidden" name="siteid" value="{$siteid}" id="siteid"/>
                    <input type="text" name="q" id="keywords" size="30"> <input type="submit" id="post-search" value="搜索">
                    <label for="keywords" class="keywords_label" id="keywords_prompt" style="display: block;">请输入搜索关键词</label>
                </form>
            </div>
        
        </div>
        <div class="clear"></div>
        <div id="main-nav">
            {php $category_arr = getcache('category_content_'.($siteid?$siteid:'1'),'commons');$mnav_total=10;$cur_count=1}
            <div class="nav-item"><a href="{siteurl($siteid)}" rel="external" class="m1">网站首页</a></div>
            {loop $category_arr $mitem}
                {if $mitem[ismenu] && !$mitem[parentid] && ++$cur_count<$mnav_total}
                <div class="nav-item">
                    <a href="{$mitem[url]}" title="{$mitem['catname']}" class="m1">{$mitem[catname]}</a>
                      {if $mitem['child']}
                      {php $childarr=explode(',',$mitem['arrchildid']);array_shift($childarr);}
                      <div class="sub-menu">
                      {loop $childarr $child}
                          <!--level-one only-->
                          {if $category_arr[$child][parentid]==$mitem[catid]}
                          <a href="{$category_arr[$child]['url']}" title="{$category_arr[$child]['catname']}">{str_cut($category_arr[$child]['catname'],12,'')}</a>
                          {/if}
                      {/loop}	
                      </div>
                      {/if}
                </div>
                {/if}
            {/loop}
			<div class="nav-item"><a href="index.php?m=formguide&c=index&a=show&formid=13&siteid=1" class="m1">在线留言</a></div>
        </div>
        
        <div class="clear"></div>
    </div>
</div>
<!--<div class="wrap ptop">
    <div id="top-social-bar" class="wrap"></div>
</div>-->

<div id="main-body" class="wrap innerp">
	<div id="top-social-bar" class="wrap">
        <div class="visit_path">
            <a href="{siteurl($siteid)}">网站首页</a><span> » </span>{catpos($catid,'»')} {if $id}详情{/if}{if $q}关键字“{$q}”搜索结果{/if}
        </div>
    </div>
	<div id="main-content" class="wrap2">